package zunyi09;

/**
 * 乒乓球运动员
 */
public class Table_tennis extends Athletes implements StudyEnglish{


    public Table_tennis(String name, Integer age) {
        super(name, age);
    }

    public Table_tennis() {
    }

    @Override
    public void teach() {
        System.out.println("乒乓球运动员学习如何打乒乓球");
    }

    @Override
    public void eat() {
        System.out.println("以下是乒乓球员：");
        System.out.println(name+"---"+age);
        System.out.println("乒乓球运动员吃蔬菜");
    }

    @Override
    public void studyEnglish() {
        System.out.println("乒乓球运动员会说英语");
    }



}
